<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!-- 引入struts2的标签 -->
<%@taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">	
		<title>部门信息</title>
		<link rel="stylesheet" href="<%=request.getContextPath()%>/css/main.css" type="text/css"/>
	</head>

	<body>
		<jsp:include page="nav.jsp" />
		
		<form action="department_setDepScope.action" method="post">
			<table width="900" cellpadding="0" class="ct">
				<tr>
					<td>标识：</td><td>${ dep.id }</td>
				</tr>
				<tr>
					<td>名称：</td><td>${ dep.name }</td>
				</tr>
				<tr>
					<td>可发文部门</td>
				</tr>
				<tr>
					<td colspan="2">
						<s:checkboxlist theme="simple" list="#ds" listKey="id" listValue="name" name="sdeps" value="#ads"/>
						<s:hidden name="id" value="%{ dep.id  }"/>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="submit" value="设置发文部门"/>
					</td>
				</tr>
			</table>
		</form>
		
	</body>
</html>
